package com.grendel.tubeyourmind.youtube.events
{
	import flash.events.Event;
	
	public class YoutubeEvent extends Event
	{
		// Define static constant.
		public static const PLAYLISTS_LOADED:String = "playlistLoaded";
		public static const VIDEOS_FROM_PLAYLIST_LOADED:String = "videosFromPLaylistLoaded";
		
		public function YoutubeEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}

		// Override the inherited clone() method.
		override public function clone():Event 
		{
			return new YoutubeEvent(type, bubbles, cancelable);
		}
	}
}